package com.xbh.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xbh.management.entity.ManRoleVO;
import com.xbh.management.entity.ManUserVO;
import com.xbh.management.model.ManRole;
import com.xbh.management.model.ManUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * @program: management-center
 * @description:
 * @author: 许宝华
 * @create: 2021-09-25 14:22
 */


@Mapper
public interface RoleMapper extends BaseMapper<ManRole> {
    //查出当前角色所关联的用户
    ManRoleVO queryRoleRelationAllUser(ManRole role);

    //查出当前角色所关联的菜单

    ManRoleVO queryMenuBuRole(ManRole role);
}
